package Fruit;

public class FruitTest {
    public static void main(String[] args) {

        Fruit apple = new Fruit();
        Fruit mango = new Fruit();
        Fruit jackfruit = new Fruit();


        apple.setName("雪桃");
        apple.setArea("丽江");
        apple.setPrice(3.0);

        mango.setName("芒果");
        mango.setArea("华坪");
        mango.setPrice(4.0);

        jackfruit.setName("香蕉");
        jackfruit.setArea("河口");
        jackfruit.setPrice(5.0);


        System.out.println(apple);
        System.out.println(mango);
        System.out.println(jackfruit);
    }
}
